﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LYR_RPA.models.enums
{
    public class ResultEnum
    {
        public int Code;
        public string Msg;

        public ResultEnum(int code, string msg)
        {
            this.Code = code;
            this.Msg = msg;
        }

        public static ResultEnum PROJECT = new ResultEnum(10002,"true");
        public static ResultEnum EXECUTE = new ResultEnum(10003,"true");
        public static ResultEnum CANCEL_CANCEL_TRUE = new ResultEnum(10004, "true");
        public static ResultEnum CANCEL_CANCEL_FAIL = new ResultEnum(10004, "false");
        public static ResultEnum EXECUTE_SUCCESS = new ResultEnum(10005, "true");
        public static ResultEnum EXECUTE_FAIL = new ResultEnum(10005, "false");
        public static ResultEnum EXECUTE_COMMAND = new ResultEnum(10011, "true");
    }
}
